<?php	//发送get请求	function send_get($urlstring)	{		$ch = curl_init();		curl_setopt($ch, CURLOPT_URL, $urlstring);		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);		$result = curl_exec($ch);		curl_close($ch);		return $result;	}	function send_post($urlstring,$data)	{		$ch = curl_init();		curl_setopt($ch, CURLOPT_POST, true);		curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);		curl_setopt($ch, CURLOPT_URL, $urlstring);		curl_setopt($ch, CURLOPT_POSTFIELDS, $data);		$result  = curl_exec($ch);		curl_close($ch);		return $result;	}	?>